package vista;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import java.io.Serializable;
 
@ManagedBean
@SessionScoped
public class BeanIndex implements Serializable {
 
	private static final long serialVersionUID = 1L;
	private String textobuton="Autenticar";

	public String getTextobuton() {
		return textobuton;
	}

	public void setTextobuton(String textobuton) {
		this.textobuton = textobuton;
	}
	
	public String cambio(){
		//System.out.println("dsfdgfdvmfkdgvjfdlkgjhl");
		return "iniciarsesion.xhtml";
	}

/*    @Override
    public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }*/
}
